/*使用嵌套循环，按下面的格式打印字母：
    A
    BC
    DEF
    GHIJ
    KLMNO
    PQRSTU
*/
#include<stdio.h>
int main(void)
{
    int row;
    const int ROWS = 6;
    int SIZE = 20;
    int score[SIZE];
    int index;
    
    printf("Please enter 'ABCDEFGHIJKLMNOPQRSTU':\n");
    for (index = 0; index < SIZE; index++)
        scanf("%c", score[SIZE]);
    printf("The scores read in are as follows:\n");
    for (index = 0; index < SIZE; index++)
        printf("%c", score[SIZE]);
    printf("\n");
    for (row = 0; row <ROWS; row++)
    {
        for (SIZE = (row * row -row) / row ; SIZE < ; SIZE++)
            printf("%c", score[SIZE]);
        printf("\n");
    }
    return 0;
}